#!/usr/bin/python
import sys
from MiniBotControlLib import MiniBotControlLib

# 实例化动态库接口类
mlib = MiniBotControlLib()
rbs=mlib.ScanRobots()
c=len(rbs)
print("Total Robots="+str(c))

mlib.ConnectWithTimeOut("192.168.1.129",8899,2000)
rs = mlib.ScanId(0,50)
print(rs[0])
print(rs[1])